projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c8b746
)
scale: Allocate left marks next to trough
author
Timm Bäder
<mail@baedert.org>
Fri, 9 Aug 2019 08:35:10 +0000
(10:35 +0200)
committer
Timm Bäder
<mail@baedert.org>
Fri, 9 Aug 2019 12:30:01 +0000
(14:30 +0200)
gtk/gtkscale.c
patch
|
blob
|
history
diff --git
a/gtk/gtkscale.c
b/gtk/gtkscale.c
index 9627d278f579f9c9a6b70b12081eba4761d3c053..eaf5056bb39a58590507ff27c698f4f8be3fa09b 100644
(file)
--- a/
gtk/gtkscale.c
+++ b/
gtk/gtkscale.c
@@
-594,7
+594,7
@@
gtk_scale_size_allocate (GtkWidget *widget,
GTK_ORIENTATION_HORIZONTAL, -1,
&marks_width, NULL,
NULL, NULL);
- marks_rect.x =
0
;
+ marks_rect.x =
range_rect.x - marks_width
;
marks_rect.y = 0;
marks_rect.width = marks_width;
marks_rect.height = range_rect.height;